package com.spzx.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.product.domain.SkuStock;
import com.spzx.product.domain.vo.SkuLockVo;

import java.util.List;

/**
 * <p>
 * 商品sku库存表 服务类
 * </p>
 *
 * @author xiongkunYang
 * @since 2025/05/26 18:30
 */
public interface ISkuStockService extends IService<SkuStock> {

    String checkAndLockStock(String orderNo, List<SkuLockVo> skuLockVoList);

    void unlockStock(String orderNo);

    void minusStock(String orderNo);
}
